package com.dailyblue.java.cloud.dept.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dailyblue.java.cloud.commons.bean.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DeptMapper extends BaseMapper<Dept> {
    @Select("select * from dept where DEPTNO=#{id}")
    Dept findDeptById(int id);
}
